package com.livedocumentation.client.web.comments;

import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.VerticalPanel;

/**
 * 
 * @Feature
 */
public class CommentsForm extends VerticalPanel {

	public static TextArea textAreaComment = new TextArea();

	public CommentsForm(String projectID, String classPath) {

		this.setSpacing(10);

		this.add(new Label(" "));

		this.add(new Label("Comments: "));

		textAreaComment.setValue(null);

		textAreaComment.setSize("400px", "60px");

		this.add(textAreaComment);

		this.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);

		this.add(new ButtonSaveComment(projectID, classPath));
	}
}